package com.kanavi.stand.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.kanavi.stand.entity.Test;
import com.kanavi.stand.mapper.TestMapper;
import com.kanavi.stand.service.TestService;
import java.util.List;
import org.springframework.stereotype.Service;

/**
 * @author tanghailan
 * @create 2021年09月11日 16:36
 */
@Service
public class TestServiceImpl extends ServiceImpl<TestMapper, Test> implements TestService {

  @Override
  public void add(Test test) {
    this.baseMapper.insert(test);
  }

  @Override
  public List<Test> findAll() {
    return this.baseMapper.selectList(null);
  }

}
